<nav class="navbar navbar-default navbar-fixed-top">
	<div class="container">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
				<span class="sr-only">Toggle navigation</span> 
				<span class="icon-bar"></span> 
				<span class="icon-bar"></span> 
				<span class="icon-bar"></span>
			</button>
			<a class="navbar-brand" th:href="@{/}"><img th:src="@{/statics/page/image/front/common/site_big_logo.png}" /></a>
		</div>
		<div id="navbar" class="navbar-collapse collapse" aria-expanded="false" style="height: 1px;">
			<ul class="nav navbar-nav">
				<li th:each="menu:${application.siteHeaderMenus}" th:class="${menu.menuCode == menuCode ? 'active' : ''}"><a th:text="${menu.menuName}" th:href="@{${menu.menuHref}}"></a></li>
			</ul>
			<ul th:if="${session.code_news_user == null}" class="nav navbar-nav navbar-right">
				<li th:class="${'login' == menuCode ? 'active' : ''}"><a th:href="@{/loginPage.html}">登录</a></li>
				<li th:class="${'register' == menuCode ? 'active' : ''}"><a th:href="@{/registerPage.html}">注册</a></li>
			</ul>
			<ul th:if="${session.code_news_user != null}" class="nav navbar-nav navbar-right">
				<li>
					<a class="dropdown-toggle user-info" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" href="javascript:;">
						<img class="user-icon" th:src="@{/statics/page/image/front/article/article.author.png}"/>
						<span id="user-name" class="user-name" th:text="${session.code_news_user.userName}"></span>
					</a>
					<ul class="dropdown-menu">
						<li><a th:href="@{/front/article/addPage.html}">发表文章</a></li>
						<li role="separator" class="divider"></li>
						<li><a id="own-new-message" th:href="@{/front/user/message.html}">我的消息</a></li>
						<li><a th:href="@{/front/user/datum.html}">个人中心</a></li>
						<li><a id="logoutBtn">退出登录</a></li>
					</ul>
				</li>
			</ul>
		</div>
		<!--/.nav-collapse -->
	</div>
</nav>